import request from '../../utils/webPageRequest'
const MARKETING = "marketing/"
const PRODUCT = "product/"
const SHOP = "shop/"
const BYTESHOP = "byteshop/"
const ECCOMMARKETSHOP = "ecom_market_shop"
// 优惠券列表
export const getCouponList = (ctx) => {
    return request({
      url: `marketing/coupons/v1/list`,
      method: "get",
      ctx
    })
  }

  // 获取当前店铺shopid
export const getShopIdData = (ctx) => {
    return request({
      url: `common/index/index`,
      method: "get",
      ctx
    })
  }

// 登录时获取店铺基础信息
export const getShopInfo = (ctx) => {
    return request({
        url: `center/qualification/shop/info`,
        method: "get",
        ctx
      })
}